<ion-view hide-nav-bar="true" title="留言列表">
    <ion-content>
        <ion-scroll direction="y" on-scroll="scrollFun()" delegate-handle="activityScroll" style="width: 100%;height: 100%;">
            <div class="container">
                <div class="content">
                    <ul class="list">
                        <li class="item item-icon-right" ng-repeat="item in vm.exhortaions track by $index">
                            <div>
                                <p class="msg-p">{{item.msgContent}}</p>
                                <p class="dark">留言人:&nbsp;{{item.memberName}}</p>
                                <p class="dark">留言对象:&nbsp;{{item.toMemberName}}</p>
                                <p class="dark">留言时间:&nbsp;{{item.createDate | date:'yyyy-MM-dd HH:mm'}}</p>
                            </div>
                        </li>
                    </ul>
                    <div class="load-more-btn" style="text-align: center;" ng-show="vm.loadMoreBtnStatus == false">
                        <p>没有更多的留言了</p>
                    </div>
                    <ion-infinite-scroll on-infinite="loadMoreMsg()" distance="0%" ng-show="vm.loadMoreBtnStatus"></ion-infinite-scroll>
                </div>
            </div>
        </ion-scroll>
    </ion-content>
</ion-view>